import * as request  from './request'

export const user = {
    login(params) {
        return request.get('index.php/Loginc/loginapi', params);
    }
}

export const trads = {
    tradlist(params) {
        return request.put('index.php/Db/jydt', params);
    }
}

export const guide = {
    list(params) {
        return request.post('sms/valid_code', params);
    }
}

export const games = {
    teams(params) {
        return request._delete('index.php/Db/myteam', params);
    }
}